Modular ac voltage supply and algorithm for controlling the same

ABSTRACT

An AC power supply ( 10 ) can be connected in parallel with similar supplies to drive loads ( 16 ). Each of the AC power supplies ( 10 ) incorporates a discrete controller functioning based on parameters sensed locally and without reference to any of the other supplies.

FIELD OF THE INVENTION

The present invention relates to AC voltage supply systems, particularly uninterruptible power supply (UPS) systems that can be connected in parallel to share power to one or more loads.

BACKGROUND OF THE INVENTION

The following publications and patents describe AC supply systems, uninterruptible power supplies, parallel operation of AC generators, and other aspects related to the present invention:

-   -   (1) Chandorkar, M. C., et al., “Control of Parallel Connected         Inverters in Standalone ac Supply Systems,” IEEE Transactions on         Industry Applications 29(1):136-143, Jan./Feb. 1993.     -   (2) Chandorkar, M. C., et al., “Novel Architectures and Control         for Distributed UPS Systems,” APEC '94 Ninth Annual Applied         Power Electronics Conference and Exposition, IEEE Power         Electronics Society, the IEEE Industry Applications Society, and         Power Sources Manufacturers Association, Orlando, Fla., Feb.         13-17, 1994, pp. 683-689.     -   (3) U.S. Pat. No. 5,596,492, issued Jan. 21, 1997, to Divan et         al., “Method and Apparatus for De-Centralized Signal Frequency         Restoration in a Distributed UPS System.”     -   (4) U.S. Pat. No. 6,118,680, issued Sep. 12, 2000, to Wallace et         al, “Methods and Apparatus for Load Sharing Between Parallel         Inverters in an AC Power Supply.”     -   (5) U.S. Pat. No. 5,436,512, issued Jul. 25, 1995, to Inam et         al., “Power Supply with Improved Circuit for Harmonic         Paralleling.”     -   (6) U.S. Pat. No. 6,169,669, issued Jan. 2, 2001, to Choudhury,         “Digital Signal Processor Controlled Uninterruptable Power         Supply.”     -   (7) U.S. Pat. No. 5,483,463, issued Jan. 8, 1996, to Qin et al.,         “Uninterruptible Power Supply (UPS) and Method.”     -   (8) U.S. Pat. No. 6,297,977, issued Oct. 2, 2001, to Huggett et         al., “Parallel Operation of Multiple Generators.”     -   (9) J. David Irwin (editor-in-chief), Industrial Electronics         Handbook, CRC Press/IEEE Press (1997), particularly 263-273 and         367-376.

SUMMARY OF THE INVENTION

The present invention provides a modular AC supply that can be connected in parallel to drive loads. For example, a 1 MW load could be driven by ten 100 kW modular systems. A potential problem of parallel operation is instability and coordination of operation and the outputs of the modules. An advantage of the present invention is that communication lines between the supply modules is not required. Rather, each supply incorporates a discrete controller functioning based on parameters sensed locally and without reference to other supplies.

BRIEF DESCRIPTION OF THE DRAWINGS

The foregoing aspects and many of the attendant advantages of this invention will become more readily appreciated as the same become better understood by reference to the following detailed description, when taken in conjunction with the accompanying drawings, wherein:

FIG. 1 is a block diagram of a line-interactive UPS system;

FIG. 2 is a block diagram of an on-line UPS system;

FIG. 3 is a block diagram of a modular AC voltage supply in accordance with the present invention operating as a single module;

FIG. 4 is a block diagram of a modular AC voltage supply in accordance with the present invention operating in parallel;

FIG. 5 is a more detailed block and circuit diagram of a voltage source, inverter and output filter usable in the present invention;

FIG. 6 is a more detailed block diagram and graph of a current regulator usable in the present invention;

FIG. 7 is a more detailed block diagram of a control algorithm for a voltage regulator usable in the present invention;

FIG. 8 is a control diagram of a control algorithm for a voltage reference generator usable in the present invention, and FIG. 8A is a corresponding diagram of an alternative control algorithm for a voltage reference generator usable in the present invention;

FIG. 9 is a diagram illustrating characteristics of aspects of the control algorithm usable in the present invention; and

FIG. 10 is an alternative block diagram of a modular AC voltage supply in accordance with the present invention and algorithm for controlling the same.

DETAILED DESCRIPTION

The primary purpose of an uninterruptible power supply (UPS) is to provide conditioned, continuous power to one or more loads. With the proliferation of electronic loads like computers, the incidence of power quality-related problems is growing. Similarly, sensitive communication equipment, such as cellular telephone cell sites, may typically be powered by a utility AC power grid, but it is necessary or desirable that uniformly conditioned power continue to be supplied if grid power is interrupted or degrades. Preferably, the UPS system will provide backup power by way of battery strings or another DC generator in the case of utility power outages, and will also correct for high and low power events (surges and sags).

Two general types of UPS systems are illustrated in FIGS. 1 and 2. In the “line-interactive” system (FIG. 1) the utility AC source 10 can supply power by way of a filter or transformer 12 to the AC bus 14. In normal operation, power to one or more loads 16 is conveyed directly from bus 14. One or more UPS modules 18 are provided to achieve the functions described above, namely, supplying power to the bus during an interruption of power from the utility, and correcting for surges, sags, or other irregularities. The inverter of the UPS module(s) does not support the load(s) unless there is a power outage, or the AC input falls outside specified tolerances. It is the ability of the inverter(s) to interact with the line that gets the line-interactive UPS its name.

In the “on-line” system represented in FIG. 2, also known as a “double conversion” UPS, the power from the grid 10 is converted to a DC voltage by a rectifier 20. The DC voltage is supplied along a DC bus 22 to one or more of the UPS modules 18 which invert the DC voltage to provide an AC output to the AC bus 14. The inverters of the UPS modules support the load and provide regulation of the output voltage and frequency. In the event that grid power is lost or deviates from the specified tolerances, the inverters of the UPS modules use backup DC sources, such as batteries, as energy sources and continue operation until the backup sources are depleted or the line is restored.

Similarly, in the line-interactive UPS system of FIG. 1, backup DC sources are required to support the load in the event of line interruption or deviation from a specified input voltage and frequency. Such backup sources can include batteries, photovoltaic systems, fuel cells, or other DC generators.

In either the line-interactive or on-line system, when multiple UPS modules 18 are provided, it is desirable that such modules share the load equally or in accordance with their capacities, and their outputs should be coordinated both in voltage and frequency. In some systems, this is achieved by a “central controller” and data communication wiring between the controller of each AC supply. The central controller dictates the current sharing of the different modules based on signals received from and communicated to them. In many cases, a more desirable system is a “distributed” system in which no central controller is used and no data communication line is required between the different AC supplies. Rather, each supply has a discrete controller which adapts the unit for current sharing based on locally sensed parameters. The distributed system is particularly preferred when the supplies are located remotely, and when it is desired to add supplies such as for expansion of a power system.

In the present invention, as represented in FIG. 3, in the case of a single module 18 supporting a load 16, the inverter 24 (represented as also including the DC voltage source and output filter) is controlled by switching signals from a current regulator 26. The current regulator, in turn, is controlled by a feedback current signal 28 based on the sensed output current of the inverter, and control signals from a voltage regulator 30. Voltage regulator 30, in turn, is controlled based on signals from a voltage reference generator 32 and a voltage feedback signal 34 corresponding to the output voltage of the inverter.

With reference to FIG. 4, in the case of parallel units 18 supporting one or more loads 16, the voltage reference generator 32 also is controlled by a current feedback signal 36 representative of the output current of the inverter, but otherwise has the same basic block diagram of the “single” supply of FIG. 3. These components and their operation are described in more detail below.

FIG. 5 illustrates the composite voltage source, inverter and filter 24. The voltage source 36 supplies DC power to the inverter 38. Power from the inverter is supplied to the AC bus by way of an isolation transformer 40. In the illustrated embodiment, a three-phase four-wire output is provided. The switches of the inverter are controlled by the signals: A+, A−; B+, B−; and C+, C−. Current sensors are incorporated to sense the output current ia, ib, and ic. Similarly, the output voltage is represented as Va, Vb and Vc.

The current regulator 26 of FIG. 3 is represented in more detail in FIG. 6. This component supplies the drive signals for the inverter, namely A+, A−, B+, B−, C+ and C−, which control the operation of the inverter and determine the output voltage and frequency. Starting from the left of the upper diagram of FIG. 6, the ia, ib and ic feedback signals (determined from the current sensors of the inverter) are compared to corresponding reference signals (the rectangular boxes represent resistors in this figure). The differences control the switching points for the inverter switch driver signals in conjunction with a modulation carrier triangle wave. In a representative embodiment the system can be designed with a carrier wave amplitude of +5 v. or +10 v., and a frequency of 5 kHz. to 10 kHz. (the device switching frequency). The current reference signals (ia_ref, ib_ref, ic_ref) are supplied by the voltage regulator 30, which is represented in FIG. 7, and which, in turn, receives control signals from the voltage reference generator 32 represented in FIG. 8, as well as the current feedback signals which are indicated as ia, ib and ic in FIG. 8.

The relationships of the actual voltage and current values and the reference values are given in these figures. In addition, the relationship between the actual voltages and the α, β, P, Q, R, S values are provided in these figures. See also FIG. 9 and Annex 1 at the end of this description.

In the case of a single module, rather than paralleled modules, it is not necessary to provide current feedback to the voltage reference generator, and the system of FIG. 8A can be used rather than the system of FIG. 8.

In practice, the system is implemented with a digital controller as represented in FIG. 10 under the control of operating software for which the code is given in Annex 2.

While described with reference to UPS systems, the AC modules of the invention can be used as primary AC supplies with or without an associated utilities grid. The DC supplies for the inverters are not limited to batteries, but can include any other source of power. Without limiting the generality of the foregoing, such source can include photovoltaic arrays, batteries, wind power generators, fuel cells, flywheels, microturbines, and so on.

Annex 1

Consider the relationship among the ac power supply's output voltage, load voltage and the isolation inductor between the ac power supply and the load. Suppose that the load voltage is V_(load)=Vsin(2πft), the output voltage of the ac power supply is V_(supply)=(V+ΔV)sin(2πft+Δθ), and L_(f) may be the leakage inductance of an isolation transformer. Here the V is the amplitude of the voltage, the f is the voltage frequency, ΔV is the voltage amplitude difference between load side and the ac power supply side. 2πft is the phase angle of the load voltage and Δθ is the angle difference between load side voltage and the power supply side voltage. Then the current through the inductor is i(L _(f))=i _(P) +i _(Q), i _(P) =V/(2πf*L _(f))*[(1+ΔV/V)*sin(Δθ)]*sin(2πft), it is the real power current because it is in the phase with the voltage, and i _(Q) =V/(2πf*L _(f))*[(1−cos(Δθ)−ΔV/V*cos(Δθ)]*cos(2πft), it is the reactive current because it has 90 degrees angle shift respect to the voltage. The above relationship reveals that the current i_(P) and i_(Q) can be controlled by controlling the ΔV and Δθ. In contrary, ΔV and Δθ can also be calculated from measured Ip and I_(Q).

Normally, ΔV/V is less than 0.05, and Δθ is less than 3 degree or 0.05 radians because L_(f) is small. In this case, real power i_(P) is mainly determined by Δθ, and the reactive power i_(Q) is mainly decided by ΔV.

Because θ is the integral of frequency with respect to the time, Δθ can be reached by change of the frequency f of the ac power supply. The droop characteristics of i_(P)-f and i_(Q)-V are the known fundamental current sharing control principle.

A 3-phase voltage system can be represented by a voltage vector V_(α-β). (see FIG. 9) in a stationary α-β frame(some one call it d-q frame). V _(α-β)=⅔*{V _(an)(t)+V_(bn)(t)*A+V _(cn)(t)*A ²}=V_(α) +jV _(β),

Where A=e^(−j2π/3).

The trace of the tip of voltage vector V_(α-β) of a balanced 3-phase voltage should be a circle with amplitude of V and rotates at the angle speed of 2πf, and the phase angle of the V_(an) is θ=2πft=atan⁻¹(V_(β)/V_(α)).

The voltage control of a 3-phase system is normally not in the physical a-b-c frame but in a rotating P-Q frame. The axis P overlaps the vector V_(α-β). The 3-phase voltage system can be presented also by a vector V_(P-Q) in P-Q frame. V _(P-Q) =V _(P) +jV _(Q) V _(P) =V _(α)*cos(θ)+V _(β)*sin(θ) V _(Q) =−V _(α)*sin(θ)+V _(β)*cos(θ) For an ideal 3-phase voltage system, V_(Q) should be zero, V_(P)-Q=V_(P), and it is a constant.

In the same way, a 3-phase current can be presented by vector I_(α-β)=I_(α)+jI_(β)in the stationary α-β frame and I_(P-Q)=I_(P)+jI_(Q) in the rotating P-Q frame. I_(P) represents the real power current and I_(Q) represents the reactive current. The power factor is cos(Φ), Φ=atan⁻¹(I_(Q)/I_(P)). However, for an unbalanced 3-phase load, except the forward sequence current component, the current also has a backward sequence current. The backward sequence current component can be represented in a backward rotating R-S frame as I_(R-S=I) _(R)+jI_(S). R-S frame rotates at a same angle speed as the P_Q frame but at inverse direction, and the angle between axis R and axis P is always equal to 2θ. This means that a 3-phase voltage supply with an inner current control loop must control all four current components I_(P), I_(Q), I_(R) and I_(S) so that a balanced 3-phase voltage system can be realized.

For a single operating ac power supply, the reference I_(Pref), I_(Qref), I_(Rref) and I_(Sref) are created by voltage regulator V_(P) and V_(Q) in P-Q frame and V_(R) and V_(S) in R-S frame respectively. The reference V_(Pref)=V, V_(Qref)=0, V_(Rref)=Vcos(2θ) and V_(Sref)=−Vsin(2θ), where V is the nominal voltage amplitude, and θ=2πft.

When ac power supply operates at parallel mode, the angle θ has to be modified by Δθ determined by the droop of i_(d)-f curve, and the voltage amplitude V has to be modified by an adjustment ΔV determined by the droop of i_(q)-V curve. Here, i_(q) normal is the actual sensed value. In the present invention the predicted value i_(Q) _(—) _(ref) is used for the drooping curve of I_(Qref)-V. The use of the predicted value i_(Q) _(—) _(ref) helps stablitiy of parallel operation.

The 3-phase ac power supply has a DSP based controller with an inner current-loop and an outer voltage-loop control. It works for either on-line UPS system or line-interactive UPS system. For line-interactive UPS system, the seemly transition from UPS mode to by-pass mode is an additional requirement. This requirement is also the responsibility of the controller of each ac power supply.

The seemly transition from UPS mode to by-pass mode is realized by take of the advantage of the zero-inertia of the ac power supply. The controller monitors the grid voltage continuously, and compares the grid voltage vector with the ac power supply's voltage vector in the ad frame, when the amplitude and the angle of the two voltage vectors are close enough, say voltage amplitude within 5% difference and angle within 5 degrees, the ac power supply will switch to current mode and takes grid's phase angle as its angle reference while keeping I_(pref), I_(Qref), I_(Rref) and I_(Sref) unchanged for tens milliseconds waiting the close of the main switch. After the main switch closed, the ac power supply will switch to charge mode. ANNEX 2 void inverter_voltage(void) { /* This voltage source control function works for both parallel and single operation*/  /* wait dc-bus voltage be ready */  if (s.dcbus_v_feedback < MINIMUM_DC_BUS_OPERATION_VOLTAGE) {   inverter_matrix_off( );   return;  }  /* after dc-bus is ready, check the inverter terminal voltage. And find   the voltage vector's peak and phase angle*/ □ □   s.inverter_v_alpha = (1.0/3.0) * (s.inverter_vab − s.inverter_vca); □   s.inverter_v_beta = (SQRT3/3.0) * s.inverter_vbc;   s.inverter_v_peak = sqrt(s.inverter_v_alpha * s.inverter_v_alpha +         s.inverter_v_beta * s.inverter_v_beta);  /* there are three possibilities: □   (1) allmost zero voltage means no other inverter:     go to voltage mode directly.   (2) voltage exists but not high enough, inverter has to wait other      inverter to finish transition.     waiting!   (3) voltage high enough that means other inverter is operating in steady    state:     take the measured voltage vector's angle as inverter's phase angle    value, and run current mode for one second then go to voltage mode.  */ □  if ( s.inverter_v_peak < ALLMOST_ZERO_VOLTAGE) { /* case (1) */   s.inverter_mode = VOLTAGE_MODE; /* directly go to voltage mode */   s.inverter_v_ramp = 0.0; /* take zero as voltage initial value */   inverter_matrix_on( );  }  else if ( s.inverter_v_peak < STABLE_VOLTAGE) { /* case (2) */   return; /* wait */  }   else { /* case (3) */    s.inverter_mode = CURRENT_START;    s.inverter_mode = CURRENT_MODE;    inverter_matrix_on( );   }  if ( s.inverter_mode == CURRENT_MODE) {   s.inverter_i_mode_time++;   if (s.inverter_i_mode_time >= 1SEC) { □    s.inverter_i_mode_time = 0; □    s.inverter_mode = VOLTAGE_MODE; □    s.inverter_v_ramp = s.inverter_vp_a;    /* for smoothly merge use measured voltage as initial starting value */ □   } □ □   s.inverter_v_theta = atan(s.inverter_v_beta / s.inverter_v_alpha); □   s.inverter_v_2theta = 2 * s.inverter_v_theta; □ □   s.inverter_ia_cmd = 0.0;   s.inverter_ic_cmd = 0.0;   s.inverter_ib_cmd = 0.0; □   return; □  } /* end of current mode */ □ □  /* start normal voltage mode */ □  /* calculate measured feedback voltage in P-Q and R-S frames */ □  s.inverter_vp_a = s.inverter_cos_theta * s.inverter_v_alpha       + s.inverter_sin_theta * s.inverter_v_beta; □  s.inverter_vq_a = −s.inverter_sin_theta * s.inverter_v_alpha       + s.inverter_cos_theta * s.inverter_v_beta; □  s.inverter_vr_a = s.inverter_cos_theta * s.inverter_v_alpha       − s.inverter_sin_theta * s.inverter_v_beta;  s.inverter_vs_a = −s.inverter_sin_theta * s.inverter_v_alpha       − s.inverter_cos_theta * s.inverter_v_beta;  s.inverter_ip_a = s.inverter_cos_theta * s.inverter_ialpha       + s.inverter_sin_theta * s.inverter_ibeta; □ □ /* Calculate voltage vector's angle reference: □  s.inverter_v_theta = Nominal part NOMINAL_THETA_STEP       + Droop ip-f part s.inverter_theta_comp */  s.inverter_theta_comp = s.inverter_ip_a * DROOP_IP_F;  /* DROOP_IP_F = mθ/I_NOMINAL */ □  s.inverter_theta_v += (NOMINAL_THETA_STEP − s.inverter_theta_comp); □  inverter_v_2theta = 2 * s.inverter_v_theta; □  cos_2theta = cos(inverter_v_2theta); □  sin_2theta = sin(inverter_v_2theta); □ □  /* Vq control loop */ □  /* set VQ reference = zero */  s.inverter_vq_ref = 0.0; □  /* Vq PI regulator to control Iq reference iq_cmd */ □  s.inverter_vq_e = s.inverter_vq_ref − s.inverter_vq_a; □  s.inverter_vq_ei += VQ_KI * s.inverter_vq_e; □  s.inverter_iq_cmd = VQ_KP * s.inverter_vq_e + s.inverter_vq_ei;  /* Vp control loop */  /* set Vp reference = Nominal part s.inverter_v_ramp       + Droop Iq-V part s.inverter_v_ramp_comp */     □  if (s.inverter_v_ramp > INVERTER_NOMINAL_VOLTAGE) □   s.inverter_v_ramp −= INVERTER_V_RAMP_STEP;  else if (s.inverter_v_ramp >= INVERTER_NOMINAL_VOLTAGE)     s.inverter_v_ramp += INVERTER_V_RAMP_STEP);  s.inverter_v_ramp_comp = DROOP_V_IQ * s.inverter_iq_cmd;  s.inverter_v_ref = s.inverter_v_ramp + s.inverter_v_ramp_comp;  /* Vp PI regulator to control Ip reference ip_cmd */  s.inverter_vp_e = s.inverter_v_ref − s.inverter_vp_a;  s.inverter_vp_ei += VP_KI * s.inverter_vp_e;  s.inverter_ip_cmd = VP_KP * s.inverter_vp_e + s.inverter_vp_ei;  /* Vr control loop */  /* set Vr reference */  s.inverter_vr_ref = s.inverter_v_ref * cos_2theta;  /* Vr PI regulator to control Ir reference ir_cmd */  s.inverter_vr_e = s.inverter_vr_ref − s.inverter_vr_a;  s.inverter_vr_ei += VR_KI * s.inverter_vr_e;  s.inverter_ir_cmd = VR_KP * s.inverter_vr_e + s.inverter_vr_ei;  /* Vs control loop */  /* set Vs reference */  s.inverter_vs_ref = −(s.inverter_v_ref * sin_2theta);  /* Vs PI regulator to control Is reference is_cmd */  s.inverter_vs_e = s.inverter_vs_ref − s.inverter_vs_a;  s.inverter_vs_ei += VS_KI * s.inverter_vs_e;  s.inverter_is_cmd = VS_KP * s.inverter_vs_e + s.inverter_vs_ei;  /* Transform the current reference from the P-Q and R-S frame to alpha-beta frame then to physical a-b-c frame */  i_alpha_ref = s.inverter_cos_theta * ( s.inverter_ip_cmd + s.inverter_ir_cmd )      − s.inverter_sin_theta * ( s.inverter_iq_cmd + s.inverter_is_cmd );  i_beta_ref = s.inverter_cos_theta * ( s.inverter_iq_cmd − s.inverter_is_cmd )       + s.inverter_sin_theta * ( s.inverter_ip_cmd − s.inverter_ir_cmd );  s.inverter_ia_cmd = ialpha_ref;  s.inverter_ic_cmd = −0.5 * (ialpha_ref + SQRT3 * ibeta_ref);  s.inverter_ib_cmd = −s.inverter_ia_cmd − s.inverter_ic_cmd; } 

1. The method of supplying AC power having desired voltage, current and frequency characteristics which comprises: (a) supplying DC power to an inverter; (b) using the inverter to convert the DC power to an inverter output having an inverter output voltage, an inverter output current and an inverter output frequency; (c) sensing the inverter output voltage and the inverter output current; (d) using the sensed inverter output voltage and the sensed inverter output current to determine the real power current and a predicted required reactive current; and (e) using the real power current signal and the predicted reactive power current signal to generate control signals for the inverter to achieve the desired voltage, current and frequency characteristics for the inverter output.
 2. The method of supplying AC power having desired voltage and frequency characteristics which comprises: (a) supplying DC power to an inverter of voltage source with an inner current-loop; (b) using the inverter to convert the DC power to an inverter output having desired voltage and desired frequency; (c) sensing the inverter output voltage and the inverter output current; (d) using the sensed inverter output voltage to compare with the desired voltage to generate a predicted required reactive current that is used to control the voltage in parallel operation; (e) using the sensed inverter output current to compare to the desired current to determine a PWM drive signal; (f) using the sensed inverter currents to calculate a real power current signal that is used to control the frequency in parallel operation; and (g) using the predicted reactive power current signal and the sensed real power current signal to generate control signals for the inverter in parallel operation to achieve the desired voltage and frequency characteristics for the inverter with inner current loop.
 3. A modular AC voltage supply and algorithm for controlling the same as described herein. 